﻿using HamcoWcs.Models.Common;
using System.Collections.Generic;

namespace HamcoWcs.Models.ForeEndModels.ErrorExplanations
{
    public class UIAlarmExplanation : BaseModel
    {
        public string ErrorType { get; set; }
        public string Module { get; set; }
        public string Code { get; set; }
        public int Level { get; set; }
        public string AlarmName { get; set; }
        public string Summary { get; set; }
        public string Suggestion { get; set; }
    }

    public class AlarmExplanationLookupDto
    {
        public string Module { get; set; }
        public string Code { get; set; }
    }

    public class AlarmExplanationQueryDto : PageSize
    {
        public string ErrorType { get; set; }
        public string Module { get; set; }
        public int? Level { get; set; }
        public string AlarmName { get; set; }
    }


    public class AlarmExplanationUpdateDto : UIAlarmExplanation
    {
    }

    public class AlarmExplanationDeleteDto : BaseModel
    {
    }

    public class AlarmExplanationResult : PageResult<UIAlarmExplanation>
    {
        public AlarmExplanationResult(int count, int pageCount, List<UIAlarmExplanation> data) : base(count, pageCount, data)
        {
        }
    }
}
